package com.beiding.controller;

import org.springframework.security.access.annotation.Secured;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class IndexController {


    //索引
    @GetMapping("/")
    String index(){
        return "index";
    }

    //首页
    @GetMapping("/home")
    String home(){
        return "home";
    }




}
